package cn.stylefeng.guns.modular.knowledge.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 知识点
 * </p>
 *
 * @author CHENCHEN
 * @since 2022-07-27
 */
@TableName("knowledge_content")
public class KnowledgeContent implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 专业类型
     */
    @TableField("specialty_id")
    private Long specialtyId;

    /**
     * 阶段ID
     */
    @TableField("stage_id")
    private Long stageId;

    /**
     * 标题
     */
    @TableField("title")
    private String title;

    /**
     * 课时
     */
    @TableField("class_hour")
    private String classHour;

    /**
     * 排序
     */
    @TableField("sort")
    private String sort;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSpecialtyId() {
        return specialtyId;
    }

    public void setSpecialtyId(Long specialtyId) {
        this.specialtyId = specialtyId;
    }

    public Long getStageId() {
        return stageId;
    }

    public void setStageId(Long stageId) {
        this.stageId = stageId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getClassHour() {
        return classHour;
    }

    public void setClassHour(String classHour) {
        this.classHour = classHour;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "KnowledgeContent{" +
        "id=" + id +
        ", specialtyId=" + specialtyId +
        ", stageId=" + stageId +
        ", title=" + title +
        ", classHour=" + classHour +
        ", sort=" + sort +
        "}";
    }
}
